package com.itheima.service;

import com.itheima.annotation.OpLog;
import com.itheima.domain.ClassQueryParam;
import com.itheima.domain.PageResult;
import com.itheima.domain.pojo.Clazz;

import java.util.List;

public interface ClassService {

    List<Clazz> getAll();


    void insertClass(Clazz clazz);


    void deleteById(Integer id);

    Clazz getById(Integer id);


    void updateById(Clazz clazz);

    PageResult<Clazz> getList(ClassQueryParam c);
}
